ObjectDB Database Search

101-150 of 200 results

DB Doctor sets type to "unknown" for new fields

and run DB Doctor on the exiting DB file in order to update the schema. The fields are added ... ) is set to unknown. Both are defined as Boolean in Java code. As a result, update operations ... the DB file and for the confirmation that it is Ok. We are struggling to understand then why updates

Database Inconsistency or corruption

2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1 ... to the referenced Attributes and from the Attributes to the Values. Updating an ObjectValue means updating the referenced Attributes. Updating an Attribute means replacing a referenced Value with a new Value

Query results are not up to date for entities, not primitives

updates . But, when using the JPQL Query, the list are refreshed, and, when I querying ... on update side does not any diference. The problem is only solved when changing the query mode, from ... the configuration file that you are using, demonstrate the queries and explain how updates are performed? Note

Server closes if large query runs out of memory

understand that JPA bulk delete doesn't involve any object retrieval, whereas perhaps JDO deletion does

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

update (){ System.out.println(" ********* Called update () **********"); lastUpdatedDate = new Date ... /server, but the test is running embedded.  Example output of error .... ********* Called update () ********** ********* Called update () ********** ********* Called update () ********** ********* Called

Unexpected exception during open the database

updates . support Support The issue is not related to Issue #1860 . It occurs, if an implict migration ... update is not part of the objectdb.conf, this cannot be the reason.   btc_es BTC ... update , unless the target class already exists with objects, and without the index

Entity listener - event instead of object

values in updated entity. There is a problem however with accessing "old" version of object stored in ... value: {}, new value: {}, actor: {}, date: {}", new Object[] { OPERATION_TYPE_ UPDATE , entityName ... ;   .toString() : null, OPERATION_TYPE_ UPDATE , actorId, transTime));     

Optimization Question

to identify exactly what fields have changed from one update to the next. Currently the following sequence executes when a track update comes in: - If it’s a new track simply add it to the database. - If it's an update to an existing track, delete the entire previous entry and then add in the new

OneToMany and cascade delete problem

updating a bidirectional relationship ( Product - Offer ) only on one side. It is the application responsibility to apply updates on both sides. In practice, however, updating only the owner side is usually sufficient because the other side is being updated automatically when the object is retrieved

Replication error on slave restart

using clean DB (with recording from transaction 1) when I restarting slave server. ...and I updated ... you can see slave is updated now only to the end of the first test case (1 day ago). Master is up to date ... being updated regularly, regardless of using replication

Problem on JPA Merge Entity.

). The statement update don't throw exception. And when i try to reload statement the value i have set before ... update . The statement's property is typed by a class that is a superclass of the newSingleValue ... a new component, save new component, assign component to statement and update statement. Works

How storage works?

attached stored in the DB. If I update my Car adding a new Wheel object is all the Car updated ? Or only changed part is updated ? By other words, If I have one complex data model ... Herve Ferreira If you update a complex object model - only modified entity objects are stored by

Not releasing locked MST object

update (e.g. a new type is found) and automatic index rebuilding (e.g. a new index is found or indexes require rebuilding due to schema change). As a workaround, try disabling index rebuilding ( update ) and see if it helps. Later (after the schema update was processed) you should enable it again. Let

Optimistic locking: prevent version increment on entity collection attribute

the version. Otherwise the version will be updated , and currently you cannot disable this update . Could you please explain the reason for avoiding this object version update ? support Support Thank ... , it makes sense for the version of the parent entity to be updated because order lines are an intrinsic

Optimistic Locking

(); // First user retrieves and updates the Counter:   PersistenceManager pm1 = pmf ... (); c1.increase(); // Second user retrieves and updates the Counter:   PersistenceManager pm2 ... locking to work each user should have its own PersistenceManager and the update must be based

pessimistic lock not released on commit

.PESSIMISTIC_WRITE); System.out.println("Thread A: got lock, updating ..."); e.setName("by A"); Thread ... .class, 1L, LockModeType.PESSIMISTIC_WRITE); System.out.println("Thread B: got lock, updating ..."); e ... ; } } } The output is: Thread A: trying to lock... Thread A: got lock, updating ... Thread B: trying to lock... Thread

jakarta.persistence.Persistence.PERSISTENCE_PROVIDER

.spi.PersistenceProvider" or remove PERSISTENCE_PROVIDER field and also update TCK signature tests. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.CacheStoreMode.USE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.CacheStoreMode USE Insert entity data into cache when read from database and insert/ update entity data when written to the database: this is the default behavior. Does not force refresh of already cached items when reading from database. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.CacheStoreMode.REFRESH

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.CacheStoreMode REFRESH Insert/ update entity data held in the cache when read from the database and when written to the database. Force refresh of cache for items read from database. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.getResultStream()

language UPDATE or DELETE statement. PessimisticLockException - if pessimistic locking fails

jakarta.persistence.TypedQuery.getSingleResult()

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery X getSingleResult() Execute a SELECT query that returns a single result. Returns: the result, of type X . Throws: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or DELETE statement

jakarta.persistence.TypedQuery.getSingleResultOrNull()

language UPDATE or DELETE statement. LockTimeoutException - if pessimistic locking fails

jakarta.persistence.TypedQuery.getResultList()

for a Jakarta Persistence query language UPDATE or DELETE statement. PessimisticLockException

jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(int)

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue (    int position ) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts

jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue (    String parameterName ) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update

jakarta.persistence.StoredProcedureQuery.execute()

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery boolean execute() Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true if first

jakarta.persistence.StoredProcedureQuery.hasMoreResults()

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery boolean hasMoreResults() Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true

jakarta.persistence.ForeignKey.value

will generate a constraint whose update and delete actions it determines most appropriate for the join column

jakarta.persistence.LockModeType.OPTIMISTIC_FORCE_INCREMENT

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.LockModeType OPTIMISTIC_FORCE_INCREMENT Optimistic lock, with version update . Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.LockModeType.PESSIMISTIC_FORCE_INCREMENT

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update . Since: Jakarta Persistence (JPA) 2.0

Is it possible to remove parent/child entities without refresh?

to have an updated parent/child object tree in memory. But entityManager.refresh is too slow for our project ... the application should update both sides of the relationship, rather than calling refresh after updating ... entityManager.getTransaction().commit() I got an objectdb exception (error 613). I have updated the unit

Vacuum - Reclaiming Unused Space In Odb

with both adds and updates .  This is creating a lot of unused space in the database that we are wanting ... should complete all missing updates . You can also check for a specific update in the slave and if it exists, all preceding updates also exist. support Support Kevinwh, I'm looking into ObjectDB

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

to elementId(1) INFO: RequestBean []: Updated : com.greensoft.entity.Project [1](TEST: project 1) INFO ... ) to elementId(7) INFO: RequestBean []: Updated : com.greensoft.entity.Block [7](TEST: constrained block1, in 1st project) INFO: RequestBean []: Updated : com.greensoft.entity.Constraint [8](TEST: a 1st

NullPointerException when using multithreading

. Persisting bulk of objects every transaction (instead of a transaction per entity object). support

Query on primary key is slow when using 'IN'

was also trying to find if there was any API like entityManager.find, but for bulk retrieval by primary keys

Enhanced classes problem

. Please note that the ability to load mapped by relationships in bulk , which these reports

Mapped by fields are not initialized by JOIN FETCH in queries

and the test in the forum passes), but still loading bulk of inverse fields requires performance improvement. support Support

Removing of an entity removes also another entity type

.7.1_03. btc_es BTC EmbeddedSystems OK. Thanks for the update . Please note that mixing direct DELETE / UPDATE database queries with EntityManager 's operations is known as problematic. It is not specific to ObjectDB but general to JPA. DELETE / UPDATE JPA queries bypass the  EntityManager

Memory leak in com.objectdb.o.CST

more spikes than usual.  My server's graph is usually fairly flat before this update .  Perhaps there is some performance tradoff with this update to save memory usage? In the attached ... this update ) and see if there's a performance difference. Trianglehead Json Error Just an update

cannot delete objects after crash (see issue 2283)

after writing and flushing the transaction updates to the recovery file (the database file itself may be updated later), but possibly before the updates are physically written to the disk, as the OS / disk ... that case it is possible that some updates would be written physically to the database file before

ObjectDB Server not able to handle large collections

.objectdb.o.RSL$a.next(RSL.java:237)         at eu.extech. update ... . update .PersistentVersionedBDOCollectionMigrator$1.process(PersistentVersionedBDOCollectionMigrator.java:42)         at eu.extech. update .common.migration

com.objectdb.o.InternalException: null

(AquaTreeUI.java:129) at javax.swing.plaf.ComponentUI. update (ComponentUI.java:161) at javax.swing ... ) at com.apple.laf.AquaTreeUI.paint(AquaTreeUI.java:129) at javax.swing.plaf.ComponentUI. update ... .swing.plaf.ComponentUI. update (ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent

Unexpected exception (Error 990) com.objectdb.o.InternalException

;     System.gc();         // Update ... ; em.getTransaction().begin();         embeddable. update ();   ... ;  void update () {             x++;  

retrieval again and again started

If there are no more retrieval errors it is excellent news. Thank you for the update . support Support update ... then we can close this issue. It can be re-opened if something changes. Thank you for the update . support ... -Georg Zwicker Thank you for the update . Note that posts #1 to #7 are about the "SectionClassifier

Can't open replicated database

for a query (just read, no update ) but it fails with the error below. The code I'm using is (user & password ... is: [ObjectDB 2.2.8] javax.persistence.PersistenceException Attempt to update types in read ... to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.SHN.ab(SHN

queries under 2.7.6_4 significantly slower than under 2.7.6

we update to the latest version from 2.7.6. Now we have the problem that we have numerous logs ... Zwicker Still working on your report, hopefully will be able to update soon. support Support Update ... for the update , we can wait until you have a better solution, we did step back to 2.7.6 for the time

Enhancing a class causes it to not save changes.

. ------------- Update ------------- The problem appears to be reflective setting of fields.  In ... . This is much less efficient but can work well also with updating objects with reflection. If you want ... have enhancement off, and fails otherwise.  (Included updated DBTest.java) Any idea

missing merger

), when these large objects are updated to small objects ( merger[9507]-missing:1} [2025-04-29 13:17 ... . Both have been updated yesterday, possibly when the error was generated. So this time it might be a cache issue ... , the system is getting unusable in this error case Yesterday's report indicated log errors only (#24, 3), so this update

ArrayIndexOutOfBoundsException on flush

to managing large objects. Do you use update queries? Update queries are new and maybe they do not ... out the build 08 being the cause - i will reapply this update as the same problem seems to occur...) felixobjectdb Richard Szurgot I updated to 2.3.3 and get the same errors as above. The entity referred

BIRT Driver Improvements

Alexander Adam The BIRT driver has been updated and now it can work on Eclipse 3.7. In addition ... tutorial (if you use Eclipse 3.7 you will have to specify the following update site - http://download.eclipse.org/birt/ update -site/3.7). The driver (as 2 Eclipse bundles) is also attached